package cn.mugutu.webrtc.websocket.domain;

import org.springframework.web.socket.WebSocketSession;

/**
 * websocket 会话sessionVo
 * @author gan
 * @Date 2016年4月1日上午1:50:22
 */
public class SessionVo {
	
	/**
	 * 报警人或者是接警员的标识符
	 */
	private String identification;
	/**
	 * 会话session
	 */
	private WebSocketSession session;
	
	public String getIdentification() {
		return identification;
	}
	public void setIdentification(String identification) {
		this.identification = identification;
	}
	public WebSocketSession getSession() {
		return session;
	}
	public void setSession(WebSocketSession session) {
		this.session = session;
	}
	
	public SessionVo(String identification,WebSocketSession session) {
		this.identification = identification;
		this.session = session;
	}
	
	@Override
	public String toString() {
		return "SessionVo [identification=" + identification + ", session="
				+ session + "]";
	}
	
}
